package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.RfidIsbnMappingDao;
import io.wdb.modules.generator.generator.entity.RfidIsbnMappingEntity;
import io.wdb.modules.generator.generator.service.RfidIsbnMappingService;



@Service("rfidIsbnMappingService")
public class RfidIsbnMappingServiceImpl implements RfidIsbnMappingService {
	@Autowired
	private RfidIsbnMappingDao rfidIsbnMappingDao;
	
	@Override
	public RfidIsbnMappingEntity queryObject(Integer id){
		return rfidIsbnMappingDao.queryObject(id);
	}
	
	@Override
	public List<RfidIsbnMappingEntity> queryList(Map<String, Object> map){
		return rfidIsbnMappingDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return rfidIsbnMappingDao.queryTotal(map);
	}
	
	@Override
	public void save(RfidIsbnMappingEntity rfidIsbnMapping){
		rfidIsbnMappingDao.save(rfidIsbnMapping);
	}
	
	@Override
	public void update(RfidIsbnMappingEntity rfidIsbnMapping){
		rfidIsbnMappingDao.update(rfidIsbnMapping);
	}
	
	@Override
	public void delete(Integer id){
		rfidIsbnMappingDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		rfidIsbnMappingDao.deleteBatch(ids);
	}
	
}
